const versions = wx.getAccountInfoSync().miniProgram.envVersion;
// develop	开发版
// trial	体验版
// release	正式版

// API地址
let basePathObj = {
  // develop: 'http://192.168.100.88:8002',
  develop: 'https://blinddate.huaikekeji.com/prod-api',
  trial: 'https://blinddate.huaikekeji.com/prod-api',
  release: 'https://blinddate.huaikekeji.com/prod-api'
}

// 图片路径
let localImgSrcObj = {
  develop: "http://192.168.100.88:8002",
  // develop: 'https://blinddate.huaikekeji.com/prod-api',
  trial: "https://blinddate.huaikekeji.com/prod-api",
  release: "https://blinddate.huaikekeji.com/prod-api",
};

// 首页标题
const wxTitle = "怀青有约";

// 图片上传路径
const uploadUrl = "/api/common/upload";

// OCR服务ID和API名称
const OCR_SERVICE_ID = "wx79ac3de8be320b71";
const OCR_API_NAME = "OcrAllInOne";

module.exports = {
  basePath: basePathObj[versions],
  localImgSrc: localImgSrcObj[versions],
  wxTitle,
  uploadUrl,
  OCR_SERVICE_ID,
  OCR_API_NAME
};